package com.zerowidth.moc.web.controller.service;

import com.zerowidth.db.bean.CollectBean;
import com.zerowidth.db.bean.ProblemBean;
import com.zerowidth.db.bean.TeachBean;
import com.zerowidth.moc.web.bean.MockBean;
import com.zerowidth.moc.web.resp.ResultBean;
import org.springframework.http.ResponseEntity;

import jakarta.servlet.http.HttpServletRequest;
import java.util.List;

public interface MockService {

    ResponseEntity<ResultBean<Boolean>> check(HttpServletRequest request,
                                              String stat_id, String user_id,
                                              String brand, String model, String manufacturer,
                                              String android_version,
                                              String app_sign_key);

    ResponseEntity<ResultBean<MockBean>> check2(HttpServletRequest request,
                                                String stat_id, String user_id,
                                                String brand, String model, String manufacturer,
                                                String android_version,
                                                String app_sign_key,
                                                String longitude,
                                                String latitude);

    ResponseEntity<ResultBean<Boolean>> shareAward(String stat_id, String user_id);

    ResponseEntity<ResultBean<Boolean>> collect(HttpServletRequest request,
                                                String name,
                                                String stat_id, String user_id,
                                                String lat, String lng, String zoom);

    ResponseEntity<ResultBean<Boolean>> deleteCollect(HttpServletRequest request,
                                                String id);

    ResponseEntity<ResultBean<List<CollectBean>>> getCollectList(HttpServletRequest request,
                                                                 String stat_id, String user_id);

    ResponseEntity<ResultBean<List<TeachBean>>> getTeachList(HttpServletRequest request);

    ResponseEntity<ResultBean<List<ProblemBean>>> getProblemList(HttpServletRequest request);


}
